Skip to content

skip pkg_test imports#13

Open
tgulacsi wants to merge 1 commit intorobertkrimen:masterfrom
tgulacsi:testpkg
Open

skip pkg_test imports#13
tgulacsi wants to merge 1 commit intorobertkrimen:masterfrom
tgulacsi:testpkg

Conversation

@tgulacsi
Copy link

For example in gopkg.in/rana/ora.v4, some tests are internal (package ora), some tests external (package ora_test). The latter results in wrong import path, and this is random, as it depends on which file was read first in the for cycle!

This CL skips package names with _test suffix.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant